package com.jiao.service;

import com.jiao.domain.DTO.CommentDto;
import com.jiao.domain.Result;
import com.jiao.domain.VO.PageVo;
import com.jiao.domain.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * 评论表(Comment)表服务接口
 *
 * @author makejava
 * @since 2022-02-28 10:31:14
 */
public interface CommentService extends IService<Comment> {

    Result<PageVo> commentList(Long articleId, Integer pageNum, Integer pageSize);

    Result<PageVo> AllCommentList(Long articleId, Integer pageNum, Integer pageSize);

    Result<String> insertCommentt(CommentDto commentDto);
}
